package com.my.mapper;

import com.my.bean.WorkArrangement;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-08-25
 */
public interface WorkArrangementMapper extends BaseMapper<WorkArrangement> {

    /**
     * 查询并分页
     * @param map
     * @return
     */
   List<WorkArrangement> selectWorkArrangement(@Param("param")Map map1,@Param("map")Map map,@Param("areaid")Long areaid,@Param("admin")boolean admin);
   int countMyPage(@Param("param")Map map1,@Param("map")Map map,@Param("areaid")Long areaid,@Param("admin")boolean admin);
}